Enable file locking support for Hurd
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 16 Dec 2025 10:45:36 +0000 (11:45 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Thu, 26 Mar 2026 10:27:54 +0000 (11:27 +0100)
commitd29fd22dff06065b981c8101bd108752136c411f
tree9f4624ab385525ca6a756efde36a6fa9011b387d
parent499d64ba3a11cb5899ab41b990ee5bccf1fc2ef3
Enable file locking support for Hurd

like Illumos in #148322, Hurd was missed when originally introducing locking
gates per target OS in #132977. building rustc on Hurd was broken as a result
since 1.91.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name Enable-file-locking-support-for-Hurd.patch
library/std/src/fs/tests.rs
library/std/src/sys/fs/unix.rs